﻿using AutoMapper;
using BanquetPortion.Dtos;
using BanquetPortion.Dtos.DataDictionaryDtos;
using BanquetPortion.Dtos.FromDataDictionaryDto;
using BanquetPortion.Models;

namespace BanquetPortion.Profiles
{
    public class DataDictionaryProfile : Profile
    {
        public DataDictionaryProfile()
        {
            CreateMap<DataDictionary, DataDictionaryDto>();
            CreateMap<DataDictionaryForCreateDto, DataDictionary> ();
            CreateMap<DataDictionaryForUpDateDto, DataDictionary>();
        }
    }
}
